#include<stdio.h>
#include<assert.h>
#include<string.h>
int my_strlen(char* p)
{
	assert(p);
	int count = 0;
	while (*p != '\0')
	{
		count++;
		p++;
	}
	return count;
}
int main()
{
	char arr[20] = { 0 };
	gets(arr);
	int len = my_strlen(arr);
	printf("%d\n", len);
	return 0;
}